package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Entertainment;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EntertainmentMapper {
    List<Entertainment> selectByParams(Map<String, Object> params);

    int addEntertainment(Entertainment entertainment);

    int deleteEntertainment(int id);

    int updateEntertainment(Entertainment entertainment);

    int batchEntertainment(@Param("ids") String[] arr);
}
